<extend name="common/base" />
<block name="resource">
  <link href="__ASSET__/Home/v4/src/css/home.css" rel="stylesheet">
  <link href="__ASSET__/Home/v4/src/css/explore.css" rel="stylesheet">
  <link href="__ASSET__/Home/v4/src/css/search_v4.css" rel="stylesheet">
  <style>
     .list-item:hover{
     	  background:none;
     	  box-shadow:none;
     }
     .empty_team_data,.empty_fans_data{
               height:450px;
               background:#fff url("__ASSET__/Home/v4/src/images/empty_66.png") no-repeat center center;
               display:none;
      }
      .search_ul li{
        cursor:pointer;
     }
     .list-item{
     	 padding:5px;
     }
  </style>
</block>
<block name="content">
   <div class="searh_head">
   	    <div class="searh_head_contain">
   	    	    <p class="search_end">结果包含“{$keywords}”的</p>
   	    	    <ul  class="search_ul">
   	    	    	<li  class="search_video">视频</li>
   	    	    	<li  class="active search_user">用户</li>
   	    	    </ul>
   	    </div>
   </div>
   <div class="container" style="padding:0;margin-bottom:20px;">
        <!--左边板块-->
        <div class="main-right explore-right left" style="min-height:605px;padding:0;"> 
        	 <div class="search_user_contain">
        	 	  <ul class="search_user_ul">
        	 	  	   
        	 	  </ul>
        	 </div>
        	 <div class="load-more-video" style="display:block;background:#fff;height:40px;line-height:40px;text-align:center;">
                    <i><img src="__ASSET__/Home/v4/src/images/loading-white.gif" alt="正在加载，请稍候..."/></i>
                    <span>正在加载，请稍候...</span>
             </div>
             <!--分页-->   
             <div class="page visitor_page">
                    <ul>
                    </ul>
             </div>
             <div class="empty_team_data"></div> 
        </div>
        <!--右边板块-->
        <div class="main-left explore-left nomargin right">
            <!--大家都在搜-->
            <div class="all-search white-bg" >
                <h1 class="font16 colorsix relative">大家都在搜</h1>
                <div class="load-more" style="display:block;">
                     <i><img src="__ASSET__/Home/v4/src/images/loading-white.gif" alt="正在加载，请稍候..."/></i>
                     <span>正在加载，请稍候...</span>
                </div>
                <ul class="search-list" style="min-height:405px;">   
                </ul>
            </div>
        </div>
    </div>
</block>
<block name="footer"></block>
<block name="component">
	  <a href="#0" class="cd-top">Top</a>
    <script src="__ASSET__/Home/v4/lib/js/jquery.cookie.js"></script>
	  <script src="__ASSET__/Home/v4/dist/js/search_module.js?v=1.0"></script>
	  <script src="__ASSET__/Home/v4/dist/js/search_user.js"></script>
    <script src="__ASSET__/Home/v4/dist/js/set_common_bg.js?v=1.0"></script>
	  <script>
	        window._THIS = {
       	     	keywords : "{$keywords}",
       	     	searchHotUrl : "{:U('api/search/hot', ['per' => 10])}",
                searchUserApi : "/search-ajaxUsers",
                searchVideoApi : "/search-ajaxVideos",
	            searchUserUrl : "/search-user",     //搜素用户的地址
                searchVideoUrl : "/search",
                dofollow : "{:U('follow/dofollow')}",
                unfollow : "{:U('follow/unfollow')}",
                other:"/user-",
       	    }
	        $(function(){
                //跳转
	             $(".search_video").on('click',function(){ 
	                 window.location.href=_THIS.searchVideoUrl+"?keywords="+_THIS.keywords;
	             })
	        })
	       
	  </script>
</block>


